package com.mz.ozy.mvp.view;

import android.app.Activity;
import android.content.Context;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.AccountBean;
import com.mz.ozy.bean.MeBean;
import com.mz.ozy.bean.NewCheckJoinMemberBean;
import com.mz.ozy.bean.NewResponeBean;
import com.mz.ozy.bean.UnreadMsgBean;

import org.json.JSONObject;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class MeContract {
    public interface View extends BaseView {
        void getgetMeInfoSuccess(MeBean bean);

        void getAccountSuccess(AccountBean bean);

        void uploadHeaderSuccess(JSONObject bean);

        void getxySuccess(MeBean bean);

        void bindInfo(String type, JSONObject bean);

        void getAliSuccess(MeBean bean);

        void exitLoginSuccess(JSONObject bean);

        void onCancelBindSuccess();
        void getUnreadMsgSuccess(UnreadMsgBean bean);

    }

    public interface Presenter extends BasePresenter<View> {
        void getMeInfo(Activity activity, boolean isShow);

        void upAccountHeader(Context context);

        void uploadHeader(Context context, String key, String nick);

        void getxi(Context context, String key);

        void getAli(Context context);

        void getBIndInfo(Context context, String type, String id);

        void onCancelBind(Context context, int type);

        void getUnreadMsg(Context context);
    }


}
